import request from "./request";

export default {
  get: (item) => {
    const config = {
      method: "get",
      ...item,
    };
    return request(config);
  },
  post: (item) => {
    const config = {
      method: "post",
      ...item,
    };
    return request(config);
  }
};
